package cn.mdx.mapper;

import cn.mdx.pojo.Demand;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Repository
public interface DemandMapper {
    int deleteByPrimaryKey(Integer did);

    int insert(Demand record);

    int insertSelective(Demand record);

    Demand selectByPrimaryKey(Integer did);

    int updateByPrimaryKeySelective(Demand record);

    int updateByPrimaryKey(Demand record);

    ArrayList<Demand> getDemands(@Param("info") String info);
}